﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="Geert" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
  <title translate="true">Creating your first WPF project</title>
  <keywords>
    <keyword translate="true">Getting started</keyword>
    <keyword translate="true">WPF</keyword>
  </keywords>
  <body>
    <header>
      <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Creating your first WPF project</text></para>
    </header>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">This getting started guide explains how to create your first WPF project using Catel. It is a combination of using the project and item templates together with some custom logic. It assumes that you have installed both the </text><link displaytype="text" defaultstyle="true" type="topiclink" href="SDP_Setup_package" styleclass="Normal" translate="true">Setup package</link><text styleclass="Normal" translate="true"> as well as </text><link displaytype="text" defaultstyle="true" type="weblink" href="http://www.nuget.org" target="_blank" styleclass="Normal" translate="true">NuGet</link><text styleclass="Normal" translate="true">.</text></para>
    <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Creating the project</text></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Start with an empty Visual Studio shell. Then, choose </text><text styleclass="Normal" style="font-style:italic;" translate="true">File</text><text styleclass="Normal" translate="true"> -&gt; </text><text styleclass="Normal" style="font-style:italic;" translate="true">New</text><text styleclass="Normal" translate="true"> -&gt; </text><text styleclass="Normal" style="font-style:italic;" translate="true">project</text><text styleclass="Normal" translate="true">... and choose the WPF project template (located under </text><text styleclass="Normal" style="font-style:italic;" translate="true">Windows</text><text styleclass="Normal" translate="true"> -&gt; </text><text styleclass="Normal" style="font-style:italic;" translate="true">Catel</text><text styleclass="Normal" style="font-style:normal;" translate="true">)</text></para>
    <para styleclass="Normal"><image src="gettingstarted_wpf_project.png" scale="80.00%" width="764" height="466" styleclass="Image Caption"></image></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Most of the application is already created for you. Up to the next step!</text></para>
    <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Adding the references</text></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Adding references to Catel has never been so easy using </text><link displaytype="text" defaultstyle="true" type="weblink" href="http://www.nuget.org" target="_blank" styleclass="Normal" translate="true">NuGet</link><text styleclass="Normal" translate="true">. No worries about the latest version, just add them and you&apos;re done! Right click on the project, then choose </text><text styleclass="Normal" style="font-style:italic;" translate="true">Manage NuGet packages</text><text styleclass="Normal" translate="true">.</text></para>
    <para styleclass="Normal"><image src="gettingstarted_nuget.png" scale="100.00%" styleclass="Image Caption"></image></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Then, search for Catel (make sure to select the online gallery) and choose </text><text styleclass="Normal" style="font-style:italic;" translate="true">Catel.Extensions.Controls</text><text styleclass="Normal" translate="true"> (which will automatically install </text><text styleclass="Normal" style="font-style:italic;" translate="true">Catel.Core </text><text styleclass="Normal" style="font-style:normal;" translate="true">and</text><text styleclass="Normal" style="font-style:italic;" translate="true"> Catel.MVVM</text><text styleclass="Normal" translate="true">):</text></para>
    <para styleclass="Normal"><image src="gettingstarted_wpf_nuget.png" scale="80.00%" width="640" height="360" styleclass="Image Caption"></image></para>
    <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Running the project</text></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">The templates has created a main window. Now the only thing to do is implement actual logic (we can&apos;t generate that for you)!</text></para>
    <para styleclass="Normal"><image src="gettingstarted_wpf_running.png" scale="100.00%" styleclass="Image Caption"></image></para>
  </body>
</topic>
